.class public Lcom/estrongs/android/pop/app/j0;
.super Landroid/content/BroadcastReceiver;
.source "WifiStateReceiver.java"


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method

.method private a(I)V
    .locals 2

    .line 10
    invoke-static {}, Les/n30;->c()Les/n30;

    move-result-object v0

    invoke-virtual {v0, p1}, Les/n30;->b(I)I

    move-result v0

    const/16 v1, 0xe

    if-ne v0, v1, :cond_0

    .line 11
    invoke-static {}, Les/n30;->c()Les/n30;

    move-result-object v0

    invoke-virtual {v0, p1}, Les/n30;->d(I)Les/u80;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 12
    iget v0, v0, Les/u80;->a:I

    const/16 v1, 0x9

    if-ne v0, v1, :cond_0

    .line 13
    invoke-static {}, Les/n30;->c()Les/n30;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Les/n30;->a(IZ)V

    :cond_0
    return-void
.end method

.method private b()V
    .locals 3

    .line 1
    new-instance v0, Lcom/estrongs/android/pop/app/v;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/v;-><init>(Lcom/estrongs/android/pop/app/j0;)V

    const-wide/16 v1, 0xc8

    invoke-static {v0, v1, v2}, Lcom/estrongs/android/util/o;->b(Ljava/lang/Runnable;J)V

    return-void
.end method

.method private c()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/j0;->b()V

    return-void
.end method


# virtual methods
.method public synthetic a()V
    .locals 2

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->u()Z

    move-result v1

    if-eqz v1, :cond_0

    const/4 v1, 0x4

    .line 3
    invoke-direct {p0, v1}, Lcom/estrongs/android/pop/app/j0;->a(I)V

    .line 4
    :cond_0
    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->v()Z

    move-result v1

    if-eqz v1, :cond_1

    const/4 v1, 0x1

    .line 5
    invoke-direct {p0, v1}, Lcom/estrongs/android/pop/app/j0;->a(I)V

    .line 6
    :cond_1
    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->E()Z

    move-result v1

    if-eqz v1, :cond_2

    const/4 v1, 0x3

    .line 7
    invoke-direct {p0, v1}, Lcom/estrongs/android/pop/app/j0;->a(I)V

    .line 8
    :cond_2
    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->X()Z

    move-result v0

    if-eqz v0, :cond_3

    const/4 v0, 0x2

    .line 9
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/j0;->a(I)V

    :cond_3
    return-void
.end method

.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 1

    .line 1
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object p1

    const-string v0, "android.net.wifi.STATE_CHANGE"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_0

    return-void

    :cond_0
    const-string p1, "networkInfo"

    .line 2
    invoke-virtual {p2, p1}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;

    move-result-object p1

    check-cast p1, Landroid/net/NetworkInfo;

    .line 3
    sget-object p2, Landroid/net/NetworkInfo$State;->CONNECTED:Landroid/net/NetworkInfo$State;

    invoke-virtual {p1}, Landroid/net/NetworkInfo;->getState()Landroid/net/NetworkInfo$State;

    move-result-object p1

    invoke-virtual {p2, p1}, Landroid/net/NetworkInfo$State;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 4
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/j0;->c()V

    :cond_1
    return-void
.end method
